﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Login</title>
    <style type="text/css">
        .style1
        {
            width: 43%;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="errorMess" runat="server">
    </div>
    <table id="Table1" width="100%">
        <%--<tr>
                <td align="center" colspan="2">
                    <img src="Images/SongSon_logo.png" style="width: 206px; height: 122px" />
                </td>
            </tr>--%>
        <tr>
            <td align="center" colspan="2">
                <h2 style="color: mediumblue" align="center">
                    Đăng nhập trang quản trị website
                    <%=Component.Config.GetStrFromWebConfig(Component.ConstString._nameWeb)%></h2>
            </td>
        </tr>
        <tr>
            <td style="text-align: right" class="style1">
                Tên đăng nhập:
            </td>
            <td align="left">
                <asp:TextBox ID="txtUser" Width="250px" TabIndex="1" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" class="style1">
                Mật khẩu:
            </td>
            <td align="left">
                <asp:TextBox ID="txtPass" Width="250px" TabIndex="2" runat="server" TextMode="Password"> 
                </asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right" class="style1">
                <asp:LinkButton ID="cmdChapNhan"   runat="server" OnCommand="cmdDangNhap_Click"
                    OnClick="cmdDangNhap_Click"  Text="Đăng nhập"  ValidationGroup="CategoriesGroup" />&nbsp;
            </td>
            <td style="width: 50%; text-align:left">
                <a href="<%=Component.Config.GetStrFromWebConfig(Component.ConstString._urlHomepage)%>"
                    title="thoát đăng nhập" style="text-decoration: none">Trang chủ</a>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="2">
                <h2 style="color: mediumblue; text-align: center; font-size: 13px; font-family: Times New Roman">
                    Phát triển website : Công ty thiết kế <a href="http://butxanh.com" target="_blank">Butxanh</a>
                </h2>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
